package com.chris.datacnter.model;


import com.core.data.jdbc.zColumn;
import com.core.data.jdbc.zId;
import com.core.data.jdbc.zTable;



@zTable(name ="dc_route")
public class DcRouteEo {
    @zId
    private int id;

    /**
     * 命名空间
     */
    private String ns;

    /**
     * 最大过期间隔(毫秒)
     */
    @zColumn(name = "sync_max_time")
    private Long syncMaxTime;

    /**
     * 备注
     */
    private String note;

   // @zColumn(name ="max_count")
   // private int maxCount;

    //@zColumn(name ="max_count")
    /**
     * 开始分配工作节点ID
     */
    private Long begin_worker_id;

    //@zColumn(name ="max_count")
    /**
     * 结束分配工作ID
     */
    private Long end_worker_id;

    //@zColumn(name ="count_length")
    //private int countLength;
    @zColumn(name ="deal_datacenter_id")
    private Long dealDatacenterId;
    //@zColumn(name ="deal_worker_id")
    //private Long dealWorkerId;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Long getSyncMaxTime() {
        return syncMaxTime;
    }

    public void setSyncMaxTime(Long syncMaxTime) {
        this.syncMaxTime = syncMaxTime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }




    public Long getDealDatacenterId() {
        return dealDatacenterId;
    }

    public void setDealDatacenterId(Long dealDatacenterId) {
        this.dealDatacenterId = dealDatacenterId;
    }

    public Long getBegin_worker_id() {
        return begin_worker_id;
    }

    public void setBegin_worker_id(Long begin_worker_id) {
        this.begin_worker_id = begin_worker_id;
    }

    public Long getEnd_worker_id() {
        return end_worker_id;
    }

    public void setEnd_worker_id(Long end_worker_id) {
        this.end_worker_id = end_worker_id;
    }

    public String getNs() {
        return ns;
    }

    public void setNs(String ns) {
        this.ns = ns;
    }
}
